package butterknife;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Bind a field to the specified string resource ID.
 * <pre><code>
 * {@literal @}BindString(ResourceTable.String_username_error) String usernameErrorText;
 * </code></pre>
 */
@Retention(RUNTIME)
@Target(FIELD)
public @interface BindString {
    /**
     * String resource ID to which the field will be bound.
     */
    int value();
}
